<?php
/**
 * @author Anh Nguyen
 * @copyright 2012
 */
 
 defined('APP') or die('Denied access !');
 
 class Default_Model_Question extends Model
 {
    public function getQuestionBlock()
    {
        $rs = $this->db->query('SELECT * FROM questionblock');
    }
    
    public function getQuestionByBlock($block)
    {
        return $this->db->query("SELECT * FROM question WHERE qbID='$block'");
    }
 }
?>